package com.personal.service.mgmt.impl;

import com.personal.entity.mgmt.MgCompany;
import com.personal.dao.mgmt.MgCompanyMapper;
import com.personal.service.mgmt.CompanyService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CompanyServiceImpl implements CompanyService{

    @Resource
    private MgCompanyMapper companyMapper;

    public List<MgCompany> getAll(){
        return companyMapper.selectAll();
    }
}
